Part Number Hot Search : 
1N4478 BAV99 70475 MAX4544 414R7 ST34C87 TGH10A TDA734
Product Description
Full Text Search
 

To Download M37534M4-XXXFP Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  single-chip 8-bit cmos microcomputer description the 7534 group is the 8-bit microcomputer based on the 740 family core technology. the 7534 group has a usb, 8-bit timers, and an a-d converter, and is useful for an input device for personal computer peripherals. features ? basic machine-language instructions ....................................... 69 ? the minimum instruction execution time .......................... 0.34 m s (at 6 mhz oscillation frequency for the shortest instruction) ? memory size rom ............................................... 8k to 16k bytes ram .............................................. 256 to 384 bytes ? programmable i/o ports ...................................... 28 (36-pin type) ............................................................................ 24 (32-pin type) ............................................................................ 33 (42-pin type) ? interrupts .................................................... 14 sources, 8 vectors ? timers ............................................................................ 8-bit 5 3 mitsubishi microcomputers 7534 group ? serial i/o1 ................................ used only for low speed in usb (based on usbspec. rev.1.1) (usb/uart) ? serial i/o2 ...................................................................... 8-bit 5 1 (clock-synchronized) ? a-d converter ................................................ 10-bit 5 8 channels ? clock generating circuit ............................................. built-in type (connect to external ceramic resonator or quartz-crystal oscillator ) ? watchdog timer ............................................................ 16-bit 5 1 ? power source voltage at 6 mhz x in oscillation frequency at ceramic resonator ................................ 4.1 to 5.5 v(4.4 to 5.25 v at usb operation) ? power dissipation ............................................ 30 mw (standard) ? operating temperature range ................................... C20 to 85 c (0 to 70 c at usb operation) ? built-in usb 3.3 v regulator + transceiver based on usb spec. rev.1.1 application input device for personal computer peripherals pin configuration (top view) fig. 1 pin configuration of M37534M4-XXXFP, m37534e8fp package type: 36p2r-a 10 1 2 3 4 6 7 8 9 11 12 14 15 16 5 13 17 18 36 35 34 33 31 30 26 25 24 23 22 21 20 19 32 27 29 28 p0 0 cnv ss x out x in v ss p0 1 p0 2 p0 3 p0 4 p3 0 (led 0 ) vcc v ref p0 5 p1 0 /r x d/d- p2 6 /an 6 p2 7 /an 7 p1 1 /t x d/d+ p1 2 /s clk p1 3 /s data p2 3 /an 3 p2 2 /an 2 p2 1 /an 1 p2 0 /an 0 p3 1 (led 1 ) p3 7 /int 0 p2 4 /an 4 p2 5 /an 5 p0 6 p0 7 usbv refout reset M37534M4-XXXFP m37534e8fp p1 4 /cntr 0 p3 5 (led 5 ) p3 4 (led 4 ) p3 3 (led 3 ) p3 2 (led 2 ) preliminary notice: this is not a final specification. some parametric limits are subject to change.
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 2 preliminar y notice: this is not a final specification. some parametric limits are subject to change. pin configuration (top view) fig. 2 pin configuration of m37534m4-xxxgp outline 32p6u-a p0 7 p1 0 /r x d/d- p1 1 /t x d/d+ p1 2 /s clk p1 3 /s data p1 4 /cntr 0 p2 0 / an 0 p2 1 / an 1 32 31 30 29 28 27 26 25 p3 4 (led 4 ) p3 3 (led 3 ) p3 2 (led 2 ) p3 1 (led 1 ) p3 0 (led 0 ) v ss x out x in 9 10 11 12 13 14 15 16 2 8 7 6 5 3 1 4 v cc cnv ss reset p2 2 /an 2 p0 5 20 17 18 19 21 24 p0 2 p0 4 p0 3 p0 6 23 22 p0 1 p0 0 usbv refout m37534m4-xxxgp p2 3 /an 3 p2 4 /an 4 p2 5 /an 5 v ref
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 3 preliminary notice: this is not a final specification. some parametric limits are subject to change. pin configuration (top view) fig. 3 pin configuration of m37534rss, m37534m4-xxxsp, m37534e8sp outline 42s1m, 42p4b 10 1 2 3 4 6 7 8 9 11 12 14 15 16 5 13 17 18 36 35 34 33 31 30 26 25 24 23 22 32 27 29 28 19 20 21 42 41 40 39 37 38 p0 0 cnv ss x out x in v ss p0 1 p0 2 p0 3 p0 4 p3 0 (led 0 ) vcc v ref p0 5 p1 2 /s clk p2 5 /an 5 p2 6 /an 6 p1 3 /s data p1 4 /cntr 0 p2 2 /an 2 nc p2 1 /an 1 p2 0 /an 0 p3 1 (led 1 ) p2 3 /an 3 p2 4 /an 4 p0 6 p0 7 p3 7 /int 0 reset m37534rss m37534m4-xxxsp m37534e8sp p3 5 (led 5 ) p3 4 (led 4 ) p3 3 (led 3 ) p3 2 (led 2 ) usbv refout p1 0 /r x d/d- p1 1 /t x d/d+ p2 7 /an 7 p1 6 p1 5 p4 0 p4 1 p3 6 (led 6 )/int 1
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 4 preliminary notice: this is not a final specification. some parametric limits are subject to change. functional block fig. 4 functional block diagram (36p2r package type) functional block diagram (package: 36p2r) si/o1(8) usb(ls) r a m r o m c p u a x y s pc h pc l ps v ss 18 reset 13 v cc 15 14 cnv ss cntr 0 p0(8) 34 32 30 28 33 31 29 27 p1(5) 3135 236 7 5 6 4 p2(8) p3(7) 12 16 17 11 9 10 8 v ref 0 26 int 0 20 23 21 19 22 24 25 si/o2(8) usbv refout x in x out clock input clock output clock generating circuit watchdog timer reset a-d converter (10) i/o port p3 i/o port p2 i/o port p1 i/o port p0 key-on wake up timer 1 (8) timer 2 (8) timer x (8) prescaler 12 (8) prescaler x (8) reset input
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 5 preliminar y notice: this is not a final specification. some parametric limits are subject to change. fig. 5 functional block diagram (32p6u-a package type) functional block diagram (package: 32p6u-a) si/o1(8) usb(ls) r a m r o m c p u a x y s pc h pc l ps v ss 11 reset 6 v cc 8 7 cnv ss cntr 0 p0(8) 25 23 21 19 24 22 20 18 p1(5) 30 28 26 29 27 32 31 p2(6) p3(5) 5 910 4 2 3 1 v ref 0 17 13 16 14 12 15 si/o2(8) usbv refout x in x out clock input clock output clock generating circuit watchdog timer reset a-d converter (10) i/o port p3 i/o port p2 i/o port p1 i/o port p0 key-on wake up timer 1 (8) timer 2 (8) timer x (8) prescaler 12 (8) prescaler x (8) reset input
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 6 preliminary notice: this is not a final specification. some parametric limits are subject to change. fig. 6 functional block diagram (42p4b package type) timer 1 (8) timer 2 (8) timer x (8) prescaler 12 (8) prescaler x (8) x in out x r a m r o m c p u a x y s pc h pc l ps v ss 21 reset 16 v cc 18 17 cnv ss cntr 0 p1(7) p2(8) p3(8) 19 20 v ref 0 int 0 usbv refout int 1 p4(2) si/o1(8) usb(ls) si/o2(8) clock generating circuit watchdog timer reset a-d converter (10) i/o port p3 i/o port p2 i/o port p1 i/o port p0 i/o port p4 key-on wakeup clock input clock output reset input 13 14 15 24 27 25 23 26 28 29 22 85 74 12 10 11 9 30 3141 242 39 40 p0(8) 38 36 34 32 37 35 33 31
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 7 preliminary notice: this is not a final specification. some parametric limits are subject to change. pin description table 1 pin description pin vcc, vss v ref usbv refout cnvss reset p0 0 Cp0 7 p1 0 /rxd/d- p1 1 /txd/d+ p1 2 /s clk p1 3 /s data p1 4 /cntr 0 p1 5 , p1 6 p2 0 /an 0 C p2 7 /an 7 p3 0 Cp3 5 p3 6 /int 1 p3 7 /int 0 p4 0 , p4 1 x in x out function ?apply voltage of 4.1 to 5.5 v to vcc, and 0 v to vss. ?reference voltage input pin for a-d converter ?output pin for pulling up a d- line with 1.5 k w external resistor ?chip operating mode control pin, which is always connected to vss. ?reset input pin for active l ?input and output pins for main clock generating circuit ?connect a ceramic resonator or quartz crystal oscillator between the x in and x out pins. ?if an external clock is used, connect the clock source to the x in pin and leave the x out pin open. function expect a port function name power source analog reference voltage usb reference voltage output cnvss reset input ?8-bit i/o port. ?i/o direction register allows each pin to be individually pro- grammed as either input or output. ?cmos compatible input level ?cmos 3-state output structure ?whether a built-in pull-up resistor is to be used or not can be determined by program. ?7-bit i/o port ?i/o direction register allows each pin to be individually pro- grammed as either input or output. ?cmos compatible input level ?cmos 3-state output structure ?cmos/ttl level can be switched for p1 0 , p1 2 , p1 3 . ?when using the usb function, input level of ports p1 0 and p1 1 becomes usb input level, and output level of them becomes usb output level. ?8-bit i/o port having almost the same function as p0 ?cmos compatible input level ?cmos 3-state output structure clock input clock output i/o port p0 i/o port p1 i/o port p2 i/o port p3 i/o port p4 ?whether a built-in pull-up resistor is to be used or not can be determined by program. ?2-bit i/o port ?i/o direction register allows each pin to be individually programmed as either input or output. ?key-input (key-on wake up interrupt input) pins ?serial i/o1 function pin ?serial i/o2 function pin ?timer x function pin ?input pins for a-d converter ?interrupt input pins ?8-bit i/o port ?i/o direction register allows each pin to be individually programmed as either input or output. ?cmos compatible input level (cmos/ttl level can be switched for p3 6 , p3 7 ). ?cmos 3-state output structure ?p3 0 to p3 6 can output a large current for driving led.
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 8 preliminar y notice: this is not a final specification. some parametric limits are subject to change. group expansion mitsubishi plans to expand the 7534 group as follow: memory type support for mask rom version, one time prom version, and emu- lator mcu . memory size rom/prom size .................................................. 8 k to 16 k bytes ram size ................................................................ 256 to 384 bytes fig. 7 memory expansion plan currently supported products are listed below. table 2 list of supported products product M37534M4-XXXFP m37534m4-xxxgp m37534m4-xxxsp m37534e8fp m37534e8sp m37534rss remarks mask rom version mask rom version mask rom version one time prom version (blank) one time prom version (blank) emulator mcu package 36p2r-a 32p6u-a 42p4b 36p2r-a 42p4b 42s1m (p) rom size (bytes) rom size for user () 8192 (8062) 8192 (8062) 8192 (8062) 16384 (16254) 16384 (16254) ram size (bytes) 256 256 256 384 384 384 rom size (byte) ram size (byte) 128 16k 256 384 8k 0 m37534e8 m37534m4 package 36p2r-a ..................................... 0.8 mm-pitch plastic molded sop 32p6u-a ................................... 0.8 mm-pitch plastic molded lqfp 42p4b ................................................... 42 pin plastic molded sdip 42sim ...................................... 42 pin shrink ceramic piggy back
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 9 preliminary notice: this is not a final specification. some parametric limits are subject to change. functional description central processing unit (cpu) the 7534 group uses the standard 740 family instruction set. refer to the table of 740 family addressing modes and machine-language instructions or the 740 family software manual for details on each instruction set. machine-resident 740 family instructions are as follows: 1. the fst and slw instructions cannot be used. 2. the mul and div instructions cannot be used. 3. the wit instruction can be used. 4. the stp instruction can be used. [cpu mode register] cpum the cpu mode register contains the stack page selection bit. this register is allocated at address 003b 16 . fig. 9 switching method of cpu mode register switching method of cpu mode register switch the cpu mode register (cpum) at the head of program after releasing reset in the following method. fig. 8 structure of cpu mode register cpu mode register (cpum: address 003b 16 ) stack page selection bit 0 : 0 page 1 : 1 page main clock division ratio selection bits b7 b6 0 0 : f( f ) = f(x in )/2 (high-speed mode) 0 1 : f( f ) = f(x in )/8 (middle-speed mode) 1 0 : applied from ring oscillator 1 1 : f( f ) = f(x in ) (double-speed mode) not used (returns ??when read) (do not write ??to these bits ) processor mode bits b1 b0 0 0 single-chip mode 0 1 1 0 1 1 not available b7 b0 switch the clock division ratio selection bits (bits 6 and 7 of cpum) after releasing reset main routine start with a built-in ring oscillator ( note ) switch to other mode except a ring oscillator (select one of 1/1, 1/2, and 1/8) note . after releasing reset the operation starts by starting a ring oscillator automatically. do not use a ring oscillator at ordinary operation. wait until establish ceramic oscillator clock.
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 10 preliminary notice: this is not a final specification. some parametric limits are subject to change. memory special function register (sfr) area the sfr area in the zero page contains control registers such as i/o ports and timers. ram ram is used for data storage and for a stack area of subroutine calls and interrupts. rom the first 128 bytes and the last 2 bytes of rom are reserved for device testing and the rest is a user area for storing programs. interrupt vector area the interrupt vector area contains reset and interrupt vectors. zero page the 256 bytes from addresses 0000 16 to 00ff 16 are called the zero page area. the internal ram and the special function registers (sfr) are allocated to this area. the zero page addressing mode can be used to specify memory and register addresses in the zero page area. access to this area with only 2 bytes is possible in the zero page addressing mode. special page the 256 bytes from addresses ff00 16 to ffff 16 are called the spe- cial page area. the special page addressing mode can be used to specify memory addresses in the special page area. access to this area with only 2 bytes is possible in the special page addressing mode. fig. 10 memory map diagram 0100 16 0000 16 0040 16 0440 16 ff00 16 ffec 16 fffe 16 ffff 16 256 384 xxxx 16 013f 16 01bf 16 8192 16384 e000 16 c000 16 e080 16 c080 16 yyyy 16 zzzz 16 ram rom reserved area sfr area not used interrupt vector area rom area reserved rom area (128 bytes) zero page special page ram area ram capacity (bytes) address xxxx 16 rom capacity (bytes) address yyyy 16 reserved rom area address zzzz 16
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 11 preliminary notice: this is not a final specification. some parametric limits are subject to change. fig. 11 memory map of special function register (sfr) 0000 16 0001 16 0002 16 0003 16 0004 16 0005 16 0006 16 0007 16 0008 16 0009 16 000a 16 000b 16 000c 16 000d 16 000e 16 000f 16 0010 16 0011 16 0012 16 0013 16 0014 16 0015 16 0016 16 0017 16 0018 16 0019 16 001a 16 001b 16 001c 16 001d 16 001e 16 001f 16 port p0 (p0) port p0 direction register (p0d) port p1 (p1) port p1 direction register (p1d) port p2 (p2) port p2 direction register (p2d) port p3 (p3) port p3 direction register (p3d) pull-up control register (pull) transmit/receive buffer register (tb/rb) usb status register (usbsts)/uart status register (uartsts) serial i/o1 control register (sio1con) uart control register (uartcon) baud rate generator (brg) port p1p3 control register (p1p3c) usb data toggle synchronization register ( trsync) usb interrupt source discrimination register 1 (usbir1) usb interrupt source discrimination register 2 (usbir2) 0020 16 0021 16 0022 16 0023 16 0024 16 0025 16 0026 16 0027 16 0028 16 0029 16 002a 16 002b 16 002c 16 002d 16 002e 16 002f 16 0030 16 0031 16 0032 16 0033 16 0034 16 0035 16 0036 16 0037 16 0038 16 0039 16 003a 16 003b 16 003c 16 003d 16 003e 16 003f 16 timer count source set register (tcss) a-d conversion register (low-order) (adl) prescaler 12 (pre12) timer 1 (t1) timer 2 (t2) timer x mode register (tm) prescaler x (prex) timer x (tx) serial i/o2 control register (sio2con) serial i/o2 register (sio2) a-d control register (adcon) a-d conversion register (high-order) (adh) misrg watchdog timer control register (wdtcon) interrupt edge selection register (intedge) cpu mode register (cpum) interrupt request register 1 (ireq1) interrupt control register 1 (icon1) usb interrupt control register (usbicon) usb transmit data byte number set register 0 (ep0byte) usb transmit data byte number set register 1 (ep1byte) usbpid control register 0 (ep0pid) usbpid control register 1 (ep1pid) usb address register (usba) usb sequence bit initialization register (inisq1) usb control register (usbcon) port p4 (p4) port p4 direction register (p4d)
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 12 preliminary notice: this is not a final specification. some parametric limits are subject to change. i/o ports [direction registers] pid the i/o ports have direction registers which determine the input/out- put direction of each pin. each bit in a direction register corresponds to one pin, and each pin can be set to be input or output. when 1 is set to the bit corresponding to a pin, this pin becomes an output port. when 0 is set to the bit, the pin becomes an input port. when data is read from a pin set to output, not the value of the pin itself but the value of port latch is read. pins set to input are floating, and permit reading pin values. if a pin set to input is written to, only the port latch is written to and the pin remains floating. [pull-up control] pull by setting the pull-up control register (address 0016 16 ), ports p0 and p3 can exert pull-up control by program. however, pins set to output are disconnected from this control and cannot exert pull-up control. [port p1p3 control] p1p3c by setting the port p1p3 control register (address 0017 16 ), a cmos input level or a ttl input level can be selected for ports p1 0 , p1 2, p1 3, p3 6 and p3 7 by program. then, as for the 36-pin version, set 1 to each bit 6 of the port p3 direction register and port p3 register. as for the 32-pin version, set 1 to respective bits 5, 6, 7 of the port p3 direction register and port p3 register. fig. 13 structure of port p1p3 control register fig. 12 structure of pull-up control register pull-up control register (pull: address 0016 16 ) p0 0 pull-up control bit p0 1 pull-up control bit p0 2 , p0 3 pull-up control bit p0 4 ?p0 7 pull-up control bit p3 0 ?p3 3 pull-up control bit p3 4 pull-up control bit p3 5 , p3 6 pull-up control bit p3 7 pull-up control bit note : pins set to output ports are disconnected from pull-up control. b7 b0 0: pull-up off 1: pull-up on initial value: ff 16 port p1p3 control register (p1p3c: address 0017 16 ) b7 b0 p3 7 /int 0 input level selection bit 0 : cmos level 1 : ttl level p3 6 /int 1 input level selection bit 0 : cmos level 1 : ttl leve p1 0 ,p1 2 ,p1 3 input level selection bit 0 : cmos level 1 : ttl level not used
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 13 preliminary notice: this is not a final specification. some parametric limits are subject to change. table 3 i/o port function table name i/o port p0 i/o port p1 i/o port p2 i/o port p3 i/o port p4 pin p0 0 Cp0 7 p1 0 /rxd/d- p1 1 /txd/d+ p1 2 /s clk p1 3 /s data p1 4 /cntr 0 p1 5 , p1 6 p2 0 /an 0 C p2 7 /an 7 p3 0 Cp3 5 p3 6 /int 1 p3 7 /int 0 p4 0 , p4 1 related sfrs pull-up control register serial i/o1 control register serial i/o2 control register timer x mode register a-d control register interrupt edge selection register diagram no. input/output i/o individual bits i/o format ?cmos compatible input level ?cmos 3-state output ?usb input/output level when selecting usb function ?cmos compatible input level ?cmos 3-state output (note) non-port function key input interrupt serial i/o1 function input/output serial i/o2 function input/output timer x function input/output a-d conversion input external interrupt input (1) (2) (3) (4) (5) (6) (10) (7) (8) (9) (10) note: port p1 0, p1 2, p1 3, p3 6, p3 7 is cmos/ttl level.
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 14 preliminary notice: this is not a final specification. some parametric limits are subject to change. fig. 14 block diagram of ports (1) data bus + - (1) port p0 data bus direction register port latch pull-up control to key input interrupt generating circuit data bus direction register port latch serial i/o1 mode selection bit (b7) serial i/o1 mode selection bit (b6) receive enable bit serial i/o1 mode selection bit (b7) serial i/o1 mode selection bit (b6) p1 0 ,p1 2 ,p1 3 input level selection bit d- input d- output serial i/o1 input usb output enable (internal signal) usb differential input d+ input d+ output serial i/o1 output usb output enable (internal signal) direction register port latch (3) port p1 1 p-channel output disable bit (2) port p1 0 (4) port p1 2 (5) port p1 3 data bus direction register p1 0 ,p1 2 ,p1 3 input level selection bit s clk pin selection bit port latch serial i/o2 clock output serial i/o2 clock input serial i/o2 clock output serial i/o2 clock input p1 0 ,p1 2 ,p1 3 input level selection bit data bus direction register signals during the s data output action port latch s data pin selection bit s data pin selection bit : p1 0 , p1 2 , p1 3 , p3 6 , p3 7 input levels are switched to the cmos/ttl level by the port p1p3 control register. serial i/o1 mode selection bit (b7) serial i/o1 mode selection bit (b6) serial i/o1 mode selection bit (b7) serial i/o1 mode selection bit (b6) transmit enable bit when the ttl level is selected, there is no hysteresis characteristics. * * * *
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 15 preliminary notice: this is not a final specification. some parametric limits are subject to change. fig. 15 block diagram of ports (2) (6) port p1 4 (8) ports p3 0 ?p3 5 data bus pull-up control data bus timer output pulse output mode cntr 0 interrupt input (7) ports p2 0 ?p2 7 a-d conversion input data bus analog input pin selection bit data bus pull-up control (9) port p3 6 , p3 7 int interrupt input direction register port latch p3 7 /int 0 input level selection bit direction register port latch direction register port latch direction register port latch : p1 0 , p1 2 , p1 3 , p3 6 , p3 7 input levels are switched to the cmos/ttl level by the port p1p3 control register. (10) ports p1 5, p1 6 , p4 0, p4 1 direction register port latch data bus when the ttl level is selected, there is no hysteresis characteristics. * *
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 16 preliminary notice: this is not a final specification. some parametric limits are subject to change. interrupt operation upon acceptance of an interrupt the following operations are auto- matically performed: 1. the processing being executed is stopped. 2. the contents of the program counter and processor status regis- ter are automatically pushed onto the stack. 3. the interrupt disable flag is set and the corresponding interrupt request bit is cleared. 4. concurrently with the push operation, the interrupt destination address is read from the vector table into the program counter. notes on use when the active edge of an external interrupt (int 0 , int 1 , cntr 0 ) is set, the interrupt request bit may be set. therefore, please take following sequence: 1. disable the external interrupt which is selected. 2. change the active edge in interrupt edge selection register. (in case of cntr 0 : timer x mode register) 3. clear the set interrupt request bit to 0. 4. enable the external interrupt which is selected. remarks non-maskable valid in uart mode valid in usb mode valid in uart mode valid in usb mode external interrupt (active edge selectable) external interrupt (active edge selectable) external interrupt (valid at falling) stp release timer underflow external interrupt (active edge selectable) non-maskable software interrupt note 1: vector addressed contain internal jump destination addresses. 2: reset function in the same way as an interrupt with the highest priority. interrupts interrupts occur by 14 different sources : 4 external sources, 9 inter- nal sources and 1 software source. interrupt control all interrupts except the brk instruction interrupt have an interrupt request bit and an interrupt enable bit, and they are controlled by the interrupt disable flag. when the interrupt enable bit and the interrupt request bit are set to 1 and the interrupt disable flag is set to 0, an interrupt is accepted. the interrupt request bit can be cleared by program but not be set. the interrupt enable bit can be set and cleared by program. it becomes usable by switching cntr 0 and a-d interrupt sources with bit 7 of the interrupt edge selection register, timer 2 and serial i/ o2 interrupt sources with bit 6, timer x and key-on wake-up interrupt sources with bit 5, and serial i/o transmit and int 1 interrupt sources with bit 4. the reset and brk instruction interrupt can never be disabled with any flag or bit. all interrupts except these are disabled when the in- terrupt disable flag is set. when several interrupts occur at the same time, the interrupts are received according to priority. table 6 interrupt vector address and priority vector addresses (note 1) high-order fffd 16 fffb 16 fff9 16 fff7 16 fff5 16 fff3 16 fff1 16 ffef 16 ffed 16 priority 1 2 3 4 5 6 7 8 9 low-order fffc 16 fffa 16 fff8 16 fff6 16 fff4 16 fff2 16 fff0 16 ffee 16 ffec 16 interrupt request generating conditions at reset input at completion of uart data receive at detection of in token at completion of uart transmit shift or when transmit buffer is empty at detection of setup/out token or at detection of reset/ suspend/ resume at detection of either rising or falling edge of int 1 input at detection of either rising or falling edge of int 0 input at timer x underflow at falling of conjunction of input logical level for port p0 (at input) at timer 1 underflow at timer 2 underflow at completion of transmit/receive shift at detection of either rising or falling edge of cntr 0 input at completion of a-d conversion at brk instruction execution interrupt source reset (note 2) uart receive usb in token uart transmit usb setup/out token reset/suspend/resume int 1 int 0 timer x key-on wake-up timer 1 timer 2 serial i/o2 cntr 0 a-d conversion brk instruction
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 17 preliminary notice: this is not a final specification. some parametric limits are subject to change. fig. 16 interrupt control fig. 17 structure of interrupt-related registers interrupt disable flag i interrupt request interrupt request bit interrupt enable bit brk instruction reset b7 b0 b7 b0 interrupt edge selection register int 0 interrupt edge selection bit 0 : falling edge active 1 : rising edge active int 1 interrupt edge selection bit 0 : falling edge active 1 : rising edge active not used (returns ??when read) serial i/o1 or int 1 interrupt selection bit 0 : serial i/o1 1 : int 1 timer x or key-on wake up interrupt selection bit 0 : timer x 1 : key-on wake up timer 2 or serial i/o2 interrupt selection bit 0 : timer 2 1 : serial i/o2 cntr 0 or ad converter interrupt selection bit 0 : cntr 0 1 : ad converter (intedge : address 003a 16 ) interrupt request register 1 uart receive/usb in token interrupt request bit uart transmit/usb setup/out token/ reset/suspend/resume/int interrupt request bit int 0 interrupt request bit timer x or key-on wake up interrupt request bit timer 1 interrupt request bit timer 2 or serial i/o2 interrupt request bit cntr 0 or ad converter interrupt request bit not used (returns ??when read) 0 : no interrupt request issued 1 : interrupt request issued (ireq1 : address 003c 16 ) b7 b0 interrupt control register 1 uart receive/usb in token interrupt enable bit uart transmit/usb setup/out token/ reset/suspend/resume/int interrupt enable bit int 0 interrupt enable bit timer x or key-on wake up interrupt enable bit timer 1 interrupt enable bit timer 2 or serial i/o2 interrupt enable bit cntr 0 or ad converter interrupt enable bit not used (returns ??when read) (do not write ??to this bit) 0 : interrupts disabled 1 : interrupts enabled (icon1 : address 003e 16 ) 1 1
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 18 preliminary notice: this is not a final specification. some parametric limits are subject to change. key input interrupt (key-on wake-up) a key-on wake-up interrupt request is generated by applying l level to any pin of port p0 that has been set to input mode. in other words, it is generated when the and of input level goes from 1 to 0. an example of using a key input interrupt is shown in fig- ure 18, where an interrupt request is generated by pressing one of the keys provided as an active-low key matrix which uses ports p0 0 to p0 3 as input ports. fig. 18 connection example when using key input interrupt and port p0 block diagram port pxx ??level output pull register bit 3 = ?? port p0 7 latch port p0 7 direction register = ? ** * p0 7 output key input interrupt request port p0 input read circuit * p-channel transistor for pull-up ** cmos output buffer pull register bit 3 = ?? port p0 6 latch port p0 6 direction register = ? ** * p0 6 output pull register bit 3 = ?? port p0 5 latch port p0 5 direction register = ? ** * p0 5 output pull register bit 3 = ?? port p0 4 latch port p0 4 direction register = ? ** * p0 4 output pull register bit 2 = ?? port p0 3 latch port p0 3 direction register = ? ** * p0 3 input pull register bit 2 = ?? port p0 2 latch port p0 2 direction register = ? ** * p0 2 input pull register bit 1 = ?? port p0 1 latch port p0 1 direction register = ? ** * p0 1 input pull register bit 0 = ?? port p0 0 latch port p0 0 direction register = ? ** * p0 0 input falling edge detection falling edge detection falling edge detection falling edge detection falling edge detection falling edge detection falling edge detection falling edge detection
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 19 preliminary notice: this is not a final specification. some parametric limits are subject to change. timers the 7534 group has 3 timers: timer x, timer 1 and timer 2. the division ratio of every timer and prescaler is 1/(n+1) provided that the value of the timer latch or prescaler is n. all the timers are down count timers. when a timer reaches 0, an underflow occurs at the next count pulse, and the corresponding timer latch is reloaded into the timer. when a timer underflows, the inter- rupt request bit corresponding to each timer is set to 1. l timer 1, timer 2 prescaler 12 always counts f(x in )/16. timer 1 and timer 2 always count the prescaler output and periodically sets the interrupt request bit. l timer x timer x can be selected in one of 4 operating modes by setting the timer x mode register. ? timer mode the timer counts the signal selected by the timer x count source selection bit. ? pulse output mode the timer counts the signal selected by the timer x count source selection bit, and outputs a signal whose polarity is inverted each time the timer value reaches 0, from the cntr 0 pin. when the cntr 0 active edge switch bit is 0, the output of the cntr 0 pin is started with an h output. at 1, this output is started with an l output. when using a timer in this mode, set the port p1 4 direction register to output mode. ? event counter mode the operation in the event counter mode is the same as that in the timer mode except that the timer counts the input signal from the cntr 0 pin. when the cntr 0 active edge switch bit is 0, the timer counts the rising edge of the cntr 0 pin. when this bit is 1, the timer counts the falling edge of the cntr 0 pin. ? pulse width measurement mode when the cntr 0 active edge switch bit is 0, the timer counts the signal selected by the timer x count source selection bit while the cntr 0 pin is h. when this bit is 1, the timer counts the signal while the cntr 0 pin is l. in any mode, the timer count can be stopped by setting the timer x count stop bit to 1. each time the timer overflows, the interrupt request bit is set. fig. 19 structure of timer x mode register fig. 20 timer count source set register timer x mode register (tm : address 002b 16 ) cntr 0 active edge switch bit 0 : interrupt at falling edge count at rising edge (in event counter mode) 1 : interrupt at rising edge count at falling edge (in event counter mode) timer x operating mode bits b1 b0 0 0 : timer mode 0 1 : pulse output mode 1 0 : event counter mode 1 1 : pulse width measurement mode not used (return ??when read) timer x count stop bit 0 : count start 1 : count stop b7 b0 timer count source set register (tcss : address 002e 16 ) b7 b0 timer x count source selection bit (note) 0 : f(x in )/16 1 : f(x in )/2 not used (return ??when read) note : to switch the timer x count source selection bit , stop the timer x count operation.
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 20 preliminary notice: this is not a final specification. some parametric limits are subject to change. fig. 21 block diagram of timer x, timer 1 and timer 2 timer mode pulse output mode q r to timer x interrupt request bit f(x in )/16 timer x latch (8) timer x (8) prescaler x latch (8) prescaler x (8) pulse width measurement mode f(x in )/2 timer x count source selection bit event counter mode timer x count stop bit port p1 4 direction register q ? ? cntr 0 active edge switch bit port p1 4 latch pulse output mode ? ? cntr 0 active edge switch bit p1 4 /cntr 0 toggle flip-flop timer x latch write pulse output mode t to cntr 0 interrupt request bit data bus to timer 1 interrupt request bit to timer 2 interrupt request bit data bus prescaler 12 (8) f(x in )/16 timer 1 (8) timer 2 (8) timer 2 latch (8) timer 1 latch (8) prescaler 12 latch (8)
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 21 preliminary notice: this is not a final specification. some parametric limits are subject to change. fig. 22 block diagram of uart serial i/o fig. 23 operation of uart serial i/o function serial i/o l serial i/o1 ? asynchronous serial i/o (uart) mode serial i/o1 can be used as an asynchronous (uart) serial i/o. a dedicated timer (baud rate generator) is also provided for baud rate generation when serial i/o1 is in operation. eight serial data transfer formats can be selected, and the transfer formats to be used by a transmitter and a receiver must be identi- cal. each of the transmit and receive shift registers has a buffer register (the same address on memory). since the shift register cannot be written to or read from directly, transmit data is written to the trans- mit buffer, and receive data is read from the respective buffer regis- ters. these buffer registers can also hold the next data to be trans- mitted and receive 2-byte receive data in succession. by selecting 1 for continuous transmit valid bit (bit 2 of sio1con), continuous transmission of the same data is made possible. this can be used as a simplified pwm. oe pe fe 1/16 x in 1/4 1/16 data bus receive buffer register address (0018 16 ) receive shift register receive buffer full flag (rbf) receive interrupt request (ri) st detector sp detector uart control register address (001a 16 ) character length selection bit 7-bit 8-bit address (001b 16 ) clock control circuit baud rate generator division ratio 1/(n+1) address (001c 16 ) brg count source selection bit transmit buffer register data bus transmit shift register address (0018 16 ) transmit shift register shift completion flag (tsc) transmit buffer empty flag (tbe) transmit interrupt request (ti) address (0019 16 ) character length selection bit transmit interrupt source selection bit continuous transmit valid bit serial i/o1 control register p1 0 /r x d p1 1 /t x d serial i/o1 status register st/sp/pa generator tsc=0 tbe=1 rbf=0 tbe=0 tbe=0 rbf=1 rbf=1 st d 0 d 1 sp d 0 d 1 st sp tbe=1 tsc=1* st d 0 d 1 sp d 0 d 1 st sp 1 : error flag detection occurs at the same time that the rbf flag becomes ??(at 1st stop bit, during reception). 2 : the transmit interrupt (ti) can be selected to occur when either the tbe or tsc flag becomes ?? depending on the setting of the transmit interrupt source selection bit (tic) of the serial i/o1 control register. 3 : the receive interrupt (ri) is set when the rbf flag becomes ?? 4 : after data is written to the transmit buffer when tsc = 1, 0.5 to 1.5 cycles of the data shift cycle is necessary until chang ing to tsc = 0. notes transmit/receive clock transmit buffer register write signal serial output t x d receive buffer register read signal serial input r x d * generated at second bit in 2-stop -bit mode 1 start bit 7 or 8 data bit 1 or 0 parity bit 1 or 2 stop bit
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 22 preliminary notice: this is not a final specification. some parametric limits are subject to change. [serial i/o1 control register] sio1con the serial i/o1 control register consists of eight control bits for the serial i/o1 function. [uart control register] uartcon the uart control register consists of four control bits (bits 0 to 3) which are valid when asynchronous serial i/o is selected and set the data format of an data transfer. one bit in this register (bit 4) is al- ways valid and sets the output structure of the p1 1 /txd pin. [uart status register] uartsts the read-only uart status register consists of seven flags (bits 0 to 6) which indicate the operating status of the uart function and vari- ous errors. this register functions as the uart status register (uartsts) when selecting the uart. the receive buffer full flag (bit 1) is cleared to 0 when the receive buffer is read. if there is an error, it is detected at the same time that data is trans- ferred from the receive shift register to the receive buffer, and the receive buffer full flag is set. a write to the uart status register clears all the error flags oe, pe, fe, and se (bit 3 to bit 6, respectively). writing 0 to the serial i/o1 mode selection bits mod1 and mod0 (bit 7 and 6 of the serial i/o1 control register ) also clears all the status flags, including the error flags. all bits of the serial i/o1 status register are initialized to 81 16 at reset, but if the transmit enable bit (bit 4) of the serial i/o1 control register has been set to 1, the continuous transmit valid bit (bit 2) becomes 1. [transmit/receive buffer register] tb/rb the transmit buffer and the receive buffer are located at the same address. the transmit buffer is write-only and the receive buffer is read-only. if a character bit length is 7-bit, the msb of data stored in the receive buffer is 0. fig. 24 continuous transmission operation of uart serial i/o [baud rate generator] brg the baud rate generator determines the baud rate for serial transfer. the baud rate generator divides the frequency of the count source by 1/(n + 1), where n is the value written to the baud rate generator. tsc=0 tbe=1 tbe=0 st d 0 d 1 sp d 0 d 1 st sp st 1 : when the serial i/o1 mode selection bits (b7, b6) is ?0? the transmit enable bit is ?? and continuous transmit valid bit i s ?? writing on the transmit buffer initiates continuous transmission of the same data. 2 : select 0 for continuous transmit valid bit to stop continuous transmission. the t x d pin will stop at high level after completing transmission of 1 byte. 3 : if the transmit buffer contents are rewritten during a continuous transmission, transmission of the rewritten data will be sta rted after completing transmission of 1 byte. notes 1 start bit 7 or 8 data bit 1 or 0 parity bit 1 or 2 stop bit transmit/receive clock transmit buffer register write signal serial output t x d
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 23 preliminary notice: this is not a final specification. some parametric limits are subject to change. ? universal serial bus (usb) mode by setting bits 7 and 6 of the serial i/o1 control register (address 001a 16 ) to 11, the usb mode is selected. this mode conforms to low speed device of usb specification 1.1. in this mode serial i/o1 interrupt have 5 sources; usb in and out token receive, usb reset, suspend, and resume. the usb fig. 26 usb transceiver block diagram status/uart status register functions as the usb status register (usbsts).there is the usbv refout pin for the usb reference voltage output, and a d-line with 1.5 k w external resistor can be pull up. usb mode block and usb transceiver block show in figures 25 and 26. fig. 25 usb mode block diagram x in address 0018 16 receive shift register rxrdy receive buffer register sync decoder pid decoder rxpid opid pide address comparative unit usba end pointer decoder rxep crc check crce reset interrupt request suspend interrupt request resume interrupt request token interrupt request eop nrzi, bit stuffing decoder bstfe bus state detection digital pll 6 mhz usb transceiver nrzi, bit stuffing encoder data bus data bus address 0018 16 transmit shift register txrdy transmit buffer register ep0byte ep1byte sync, pid generating unit ep0pid ep1pid crc encoder eop generating unit usb transmit unit p1 0 /d- p1 1 /d+ differential input and single end input output data and i/o control 1.5 mhz serial i/o1 control register mod0 mod1 usb reference power source voltage usb control register uvoe (initial value ?? output enable signal voltage input output amplifier usbv refout d+/d- output amplifier internal d- output signal internal d+ output signal d- d+ suspend oe (internal signal) signal for function stop output enable signal - + differential input single end input single end input voltage input
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 24 preliminary notice: this is not a final specification. some parametric limits are subject to change. fig. 27 structure of serial i/o1-related registers (1) b7 b0 b7 b0 usb status register (usbsts: address 0019 16 ) transmit buffer empty flag 0: buffer full 1: buffer empty eop detection flag 0: not detected 1: detect false eop error flag 0: no error 1: false eop error crc error flag 0: no error 1: crc error pid error flag 0: no error 1: pid error bit stuffing error flag 0: no error 1: bit stuffing error summing error flag 0: no error 1: summing error receive buffer full flag 0: buffer empty 1: buffer full b7 b0 transmit buffer register (tb: address 0018 16 ) after setting data to address 0018 16 , a content of the transmit buffer register transfers to the transmit shift register automatically. cpu read: disabled cpu write: set/clear hardware read: used hardware write: not used receive buffer register (rb: address 0018 16 ) by reading data from address 0018 16 , a content of the receive buffer register can be read out. cpu read: enabled cpu write: disabled hardware read: not used hardware write: set/clear cpu read: enabled cpu write: disabled hardware read: not used hardware write: set/clear cpu read: enabled cpu write: clear hardware read: not used hardware write: set cpu read: enabled cpu write: disabled hardware read: not used hardware write: set/clear
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 25 preliminary notice: this is not a final specification. some parametric limits are subject to change. fig. 28 structure of serial i/o1-related registers (2) not used (return ??when read) endpoint 1 enable 0: endpoint 1 invalid 1: endpoint 1 valid usb reset interrupt enable 0: usb reset invalid 1: usb reset valid resume interrupt enable 0: resume invalid 1: resume valid token interrupt enable 0: token invalid 1: token valid usb enable flag 0: usb invalid 1: usb valid b7 b0 cpu read: enabled cpu write: clear hardware read: not used hardware write: set usb data toggle synchronization register (trsync: address 001d 16 ) not used (return ??when read) sequence bit toggle flag 0: no toggle 1: sequence toggle b7 b0 cpu read: enabled cpu write: disabled hardware read: not used hardware write: set/clear usb interrupt source discrimination register 1 (usbir1: address 001e 16 ) not used (return ??when read) endpoint determination flag 0: endpoint 0 interrupt 1: endpoint 1 interrupt b7 b0 b7 b0 cpu read: enabled cpu write: clear hardware read: not used hardware write: set usb interrupt source discrimination register 2 (usbir2: address 001f 16 ) not used (return ??when read) suspend request flag 0: no request 1: suspend request usb reset request flag 0: no request 1: reset request not used (return ??when read) token pid determination flag 0: setup interrupt 1: out interrupt token interrupt flag 0: no request 1: token request cpu read: enabled cpu write: disabled hardware read: not used hardware write: set/clear cpu read: enabled cpu write: disabled hardware read: not used hardware write: set/clear usb interrupt control register (usbicon: address 0020 16 ) cpu read: enabled cpu write: set/clear hardware read: used hardware write: not used
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 26 preliminary notice: this is not a final specification. some parametric limits are subject to change. fig. 29 structure of serial i/o1-related registers (3) b7 b0 usb transmit data byte number set register 1 (ep1byte: address 0022 16 ) set a number of data byte for transmitting with endpoint 1. cpu read: enabled cpu write: set/clear hardware read: used hardware write: not used not used (return ??when read) b7 b0 usb transmit data byte number set register 0 (ep0byte: address 0021 16 ) set a number of data byte for transmitting with endpoint 0. cpu read: enabled cpu write: set/clear hardware read: used hardware write: not used not used (return ??when read) b7 b0 usb address register (usba: address 0025 16 ) set an address allocated by the usb host. cpu read: disabled cpu write: set/clear hardware read: used hardware write: not used not used (returns ??when read) usb pid control register 1 (ep1pid: address 0024 16 ) not used (return ??when read) endpoint 1 pid selection flag 1x: in token interrupt of data0/1 is valid 01: stall handshake is valid for in token 00: nack handshake is valid for in token b7 b0 x: any data b6 cpu read: enabled cpu write: set/clear hardware read: used hardware write: not used b7 cpu read: enabled cpu write: set/clear hardware read: used hardware write: clear b7 b0 usb pid control register 0 (ep0pid: address 0023 16 ) not used (return ??when read) endpoint 0 enable flag 0: endpoint 0 invalid 1: endpoint 0 valid endpoint 0 pid selection flag 1xxx: in token interrupt of data0/1 is valid 01xx: stall handshake is valid for in token 00xx: nack handshake is valid for in token xxx1: stall handshake is valid for out token (note) xx10: ack handshake is valid for out token xx00: nack handshake is valid for out token cpu read: enabled cpu write: set/clear hardware read: used hardware write: not used b4, b5, b6 cpu read: enabled cpu write: set/clear hardware read: used hardware write: not used b7 cpu read: enabled cpu write: set/clear hardware read: used hardware write: clear x: any data note: in the status stage of the control read transfer, when pid of data packet = data0 (incorrect pid), this bit is set forcibly by hardware and stall handshake is valid.
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 27 preliminary notice: this is not a final specification. some parametric limits are subject to change. fig. 30 structure of serial i/o1-related registers (4) usb sequence bit initialization register (inisq1: address 0026 16 ) a sequence bit of endpoint 1 is initialized. cpu read: disabled cpu write: dummy hardware read: not used hardware write: not used b7 b0 b7 b0 b7 b0 b7 b0 usb control register (usbcon: address 0027 16 ) not used (return ??when read) usbv refout output valid flag 0: output off 1: output on remote wake up request flag 0: no request 1: remote wake up request cpu read: disabled cpu write: set/clear hardware read: used hardware write: not used cpu read: disabled cpu write: set hardware read: used hardware write: clear uart status register (uartsts: address 0019 16 ) transmit buffer empty flag 0: buffer full 1: buffer empty receive buffer full flag 0: buffer empty 1: buffer full transmit shift register shift completion flag 0: transmit shift in progress 1: transmit shift completed overrun error flag 0: no error 1: overrun error parity error flag 0: no error 1: parity error framing error flag 0: no error 1: framing error summing error flag 0: no error 1: summing error not used (returns ??when read) cpu read: enabled cpu write: disabled hardware read: not used hardware write: set/clear baud rate generator (brg: address 001c 16 ) this register is valid only when selecting the uart mode. a baud rate value is set. cpu read: disabled cpu write: set/clear hardware read: used hardware write: not used cpu read: enabled cpu write: clear hardware read: not used hardware write: set
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 28 preliminary notice: this is not a final specification. some parametric limits are subject to change. fig. 31 structure of serial i/o1-related registers (5) uart control register (uartcon: address 001b 16 ) character length selection bit 0: 8 bits 1: 7 bits parity enable bit 0: parity checking disabled 1: parity checking enabled parity selection bit 0: even parity 1: odd parity stop bit length selection bit 0: 1 stop bit 1: 2 stop bits p-channel output disable bit 0: cmos output 1: n-channel open-drain output not used (returns ??when read) cpu read: disabled cpu write: set/clear hardware read: used hardware write: not used b7 b0 b7 b0 serial i/o1 control register (sio1con: address 001a 16 ) brg count source selection bit 0: f(x in ) 1: f(x in )/4 not used (returns ??when read) continuous transmit valid bit 0: continuous transmit invalid 1: continuous transmit valid transmit interrupt source selection bit 0: interrupt when transmit buffer has emptied 1: interrupt when transmit shift operation is completed transmit enable bit 0: transmit disabled 1: transmit enabled receive enable bit 0: receive disabled 1: receive enabled serial i/o1 mode selection bits 00: i/o port 01: not available 10: uart mode 11: usb mode cpu read: disabled cpu write: set/clear hardware read: used hardware write: not used cpu read: disabled cpu write: set/clear hardware read: used hardware write: not used
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 29 preliminary notice: this is not a final specification. some parametric limits are subject to change. note on using usb mode handling of se0 signal in program (at receiving) 7534 group has the border line to detect as usb reset or eop (end of packet) on the width of se0 (single ended 0). a response apposite to a state of the device is expected. the name of the following short words which is used in table 5 shows as follow. ?tkne: token interrupt enable (bit 6 of address 20 16 ) ?rsme: resume interrupt enable (bit 5 of address 20 16 ) ?rste: usb reset interrupt enable (bit 4 of address 20 16 ) ?spec: a response of the device requested by usb specification 1.1 ?sie: hardware operation in 7534 group ?f/w: recommendation process in the program ?feope: false eop error flag (bit 2 of address 19 16 ) ?rxpid: token interrupt flag (bit 7 of address 1f 16 ) spec sie f/w reset or resume reset interrupt request reset interrupt processing resume interrupt processing table 5 relation of the width of se0 and the state of the device width of se0 0 m sec. 0.5 m sec. 0.5 m sec. 2.5 m sec. 2.5 m sec. 2.67 m sec. 2.67 m sec. spec sie f/w spec sie f/w spec sie f/w spec sie f/w idle state tkne = x rsme = 0 rste =1 ignore keep counting suspend timer not acknowledge keep alive initialize suspend timer count value not acknowledge keep alive or reset may determine as keep alive and reset interrupt keep alive in case of no interrupt request reset processing in case of interrupt request reset reset interrupt request reset processing end of token in transaction tkne = 1 rsme = 0 rste =1 ignore not detected as eop(in case of no detection eop, sie returns idle state as time out. feope flag is set.) not acknowledge eop token interrupt request token interrupt processing execute eop or reset may determine as eop and reset interrupt rxpid = 1> token interrupt processing rxpid = 0> reset interrupt processing reset reset interrupt request reset processing end of data or handshake in transaction tkne = 0 rsme = 0 rste = 0 or 1 ignore not detected as eop(in case of no detection eop, sie returns idle state as timeup. feope flag is set.) wait for the next eop flag eop set eop flag after checking the set of eop flag, go to the next processing eop or reset may determine as eop and reset interrupt continue the processing in case of no interrupt request reset processing in case of interrupt request reset reset interrupt request reset processing suspend state tkne = 0 rsme = 1 rste = 0 state of device ? function of usbpid control register 0 (address 0023 16 ) bit 4 (stall handshake control for out token) of this register is forcibly set by sie under the special condition shown below. set condition; when pid of data packet = data0 (incorrect pid) in the status stage of the control read transfer. ? sync field at reception normally, the sync field consists of kjkjkjkk (8 bits). however, as for sie of the 7534 group, when the low-order 6 bits are kjkjkk, it is determined as sync.
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 30 preliminary notice: this is not a final specification. some parametric limits are subject to change. l serial i/o2 the serial i/o2 function can be used only for clock synchronous se- rial i/o. for clock synchronous serial i/o2 the transmitter and the receiver must use the same clock. when the internal clock is used, transfer is started by a write signal to the serial i/o2 register. [serial i/o2 control register] sio2con the serial i/o2 control register contains 8 bits which control various serial i/o functions. ? for receiving, set 0 to bit 3. ? when receiving, bit 7 is cleared by writing dummy data to serial i/ o2 register after shift is completed. ? bit 7 is set earlier a half cycle of shift clock than completion of shift operation. accordingly, when checking shift completion by using this bit, the setting is as follows: (1) check that this bit is set to 1, (2) wait a half cycle of shift clock, (3) read/write to serial i/o2 register. fig. 32 structure of serial i/o2 control registers fig. 33 block diagram of serial i/o2 serial i/o2 control register (sio2con: address 0030 16 ) s data pin selection bit (note) 0 : i/o port/s data input 1 : s data output internal synchronous clock selection bits 000 : f(x in )/8 001 : f(x in )/16 010 : f(x in )/32 011 : f(x in )/64 110 : f(x in )/128 111 : f(x in )/256 b7 b0 not used (returns ??when read) transfer direction selection bit 0 : lsb first 1 : msb first s clk pin selection bit 0 : external clock (s clk is an input) 1 : internal clock (s clk is an output) transmit / receive shift completion flag 0 : shift in progress 1 : shift completed note : when using it as an s data input, set the port p1 3 direction register to ?? ? ? ? ? ? ? 1/8 1/16 1/32 1/64 1/128 1/256 x in data bus serial i/o2 interrupt request s data pin selection bit serial i/o counter 2 (3) serial i/o shift register 2 (8) s clk pin selection bit internal synchronous clock selection bits divider p1 2 /s clk p1 3 /s data p1 2 latch s clk pin selection bit s clk p1 3 latch s data pin selection bit
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 31 preliminary notice: this is not a final specification. some parametric limits are subject to change. serial i/o2 operation by writing to the serial i/o2 register(address 0031 16 ) the serial i/o2 counter is set to 7. after writing, the s data pin outputs data every time the transfer clock shifts from a high to a low level. and, as the transfer clock shifts from a low to a high, the s data pin reads data, and at the same time the contents of the serial i/o2 register are shifted by 1 bit. when the internal clock is selected as the transfer clock source, the following operations execute as the transfer clock counts up to 8. ? serial i/o2 counter is cleared to 0. ? transfer clock stops at an h level. ? interrupt request bit is set. ? shift completion flag is set. also, the s data pin is in a high impedance state after the data trans- fer is complete. refer to figure 34. when the external clock is selected as the transfer clock source, the interrupt request bit is set as the transfer clock counts up to 8, but external control of the clock is required since it does not stop. notice that the s data pin is not in a high impedance state on the completion of data transfer. fig. 34 serial i/o2 timing (lsb first) d 0 note : when the internal clock is selected as the transfer and the direction register of p1 3 /s data pin is set to the input mode, synchronous clock serial i/o2 register write signal transfer clock (note) s data at serial i/o2 input receive s data at serial i/o2 output transmit serial i/o2 interrupt request bit set d 1 d 2 d 3 d 4 d 5 d 6 d 7 the s data pin is in a high impedance state after the data transfer is completed.
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 32 preliminary notice: this is not a final specification. some parametric limits are subject to change. a-d converter the functional blocks of the a-d converter are described below. [a-d conversion register] ad the a-d conversion register is a read-only register that stores the result of a-d conversion. do not read out this register during an a-d conversion. [a-d control register] adcon the a-d control register controls the a-d converter. bit 2 to 0 are analog input pin selection bits. bit 4 is the ad conversion completion bit. the value of this bit remains at 0 during a-d conversion, and changes to 1 at completion of a-d conversion. a-d conversion is started by setting this bit to 0. [comparison voltage generator] the comparison voltage generator divides the voltage between v ss and v ref by 1024 by a resistor ladder, and outputs the divided volt- ages. since the generator is disconnected from v ref pin and v ss pin, current is not flowing into the resistor ladder. [channel selector] the channel selector selects one of ports p2 7 /an 7 to p2 0 /an 0, and inputs the voltage to the comparator. [comparator and control circuit] the comparator and control circuit compares an analog input volt- age with the comparison voltage and stores its result into the a-d conversion register. when a-d conversion is completed, the control circuit sets the ad conversion completion bit and the ad interrupt request bit to 1. because the comparator is constructed linked to a capacitor, set f(x in ) to 500 khz or more during a-d conversion. fig. 35 structure of a-d control register fig. 36 structure of a-d conversion register fig. 37 block diagram of a-d converter a-d control register (adcon : address 0034 16 ) not used (returns ??when read) not used (returns ??when read) ad conversion completion bit 0 : conversion in progress 1 : conversion completed b7 b0 analog input pin selection bits 000 : p2 0 /an 0 001 : p2 1 /an 1 010 : p2 2 /an 2 011 : p2 3 /an 3 100 : p2 4 /an 4 101 : p2 5 /an 5 110 : p2 6 /an 6 111 : p2 7 /an 7 read 8-bit (read only address 0035 16 ) b7 b0 b9 b8 b7 b6 b5 b4 b3 b2 (address 0035 16 ) read 10-bit (read in order address 0036 16 , 0035 16 ) b7 b0 b9 b8 (address 0036 16 ) b7 b0 b7 b6 b5 b4 b3 b2 b1 b0 (address 0035 16 ) high-order 6-bit of address 0036 16 returns ??when read. control register d dress 0034 16 ) channel selector a-d control circuit resistor ladder v ss comparator a-d interrupt request b7 b0 3 10 a-d conversion register (low-order) (address 0036 16 ) (address 0035 16 ) a-d conversion register (high-order) v ref
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 33 preliminary notice: this is not a final specification. some parametric limits are subject to change. watchdog timer the watchdog timer gives a means for returning to a reset status when the program fails to run on its normal loop due to a runaway. the watchdog timer consists of an 8-bit watchdog timer h and an 8- bit watchdog timer l, being a 16-bit counter. standard operation of watchdog timer the watchdog timer stops when the watchdog timer control register (address 0039 16 ) is not set after reset. writing an optional value to the watchdog timer control register (address 0039 16 ) causes the watchdog timer to start to count down. when the watchdog timer h underflows, an internal reset occurs. accordingly, it is programmed that the watchdog timer control register (address 0039 16 ) can be set before an underflow occurs. when the watchdog timer control register (address 0039 16 ) is read, the values of the high-order 6-bit of the watchdog timer h, stp in- struction disable bit and watchdog timer h count source selection bit are read. initial value of watchdog timer by a reset or writing to the watchdog timer control register (address 0039 16 ), the watchdog timer h is set to ff 16 and the watchdog timer l is set to ff 16 . operation of watchdog timer h count source selection bit a watchdog timer h count source can be selected by bit 7 of the watchdog timer control register (address 0039 16 ). when this bit is 0, the count source becomes a watchdog timer l underflow signal. the detection time is 174.763 ms at f(x in )=6 mhz. when this bit is 1, the count source becomes f(x in )/16. in this case, the detection time is 683 m s at f(x in )=6 mhz. this bit is cleared to 0 after reset. operation of stp instruction disable bit when the watchdog timer is in operation, the stp instruction can be disabled by bit 6 of the watchdog timer control register (address 0039 16 ). when this bit is 0, the stp instruction is enabled. when this bit is 1, the stp instruction is disabled, and an internal reset occurs if the stp instruction is executed. once this bit is set to 1, it cannot be changed to 0 by program. this bit is cleared to 0 after reset. fig. 38 block diagram of watchdog timer fig. 39 structure of watchdog timer control register x in data bus ? ? 1/16 watchdog timer h count source selection bit reset circuit stp instruction disable bit watchdog timer h (8) write ?f 16 ?to the watchdog timer control register internal reset reset watchdog timer l (8) stp instruction write ?f 16 ?to the watchdog timer control register watchdog timer control register(address 0039 16 ) wdtcon watchdog timer h (read-only for high-order 6-bit) stp instruction disable bit 0 : stp instruction enabled 1 : stp instruction disabled watchdog timer h count source selection bit 0 : watchdog timer l underflow 1 : f(x in )/16 b7 b0
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 34 preliminar y notice: this is not a final specification. some parametric limits are subject to change. reset circuit the microcomputer is put into a reset status by holding the reset pin at the l level for 15 fig. 40 example of reset circuit fig. 41 timing diagram at reset (note) 0.2 v cc 0 v 0 v poweron v cc reset v cc reset power source voltage detection circuit power source voltage reset input voltage note : reset release voltage vcc = 4.1 v data address 8-13 clock cycles reset address from the vector table 1 : a built-in ring oscillator applies about 250 khz frequency as clock f at average of vcc = 5 v. 2 : the mark ? means that the address is changeable depending on the previous state. 3 : these are all internal signals except reset notes reset reset out sync ?? fffc fffd ad h ,ad l ??? ?? ad l ad h ??? clock from built-in ring oscillator
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 35 preliminary notice: this is not a final specification. some parametric limits are subject to change. fig. 42 internal status of microcomputer at reset serial i/o1 control register uart control register (8) (9) prescaler 12 timer 1 timer 2 timer x mode register prescaler x timer x timer count source set register serial i/o2 control register a-d control register misrg watchdog timer control register interrupt edge selection register cpu mode register interrupt request register 1 interrupt control register 1 processor status register program counter (21) (22) (23) (24) (25) (26) (27) (28) (29) (30) (31) (32) (33) (34) (35) (36) (37) (6) usb/uart status register (7) usb data toggle synchronization register (10) usb interrupt source discrimination register 1 (11) usb interrupt source discrimination register 2 (12) usb interrupt control register (13) usb transmit data byte number set register 0 (14) usb transmit data byte number set register 1 (15) usbpid control register 0 (16) usbpid control register 1 (17) usb address register (18) usb sequence bit initialization register (19) usb control register (20) 001a 16 001b 16 02 16 1110 0000 contents of address fffc 16 (pc h ) (pc l ) ff 16 01 16 00 16 00 16 ff 16 ff 16 00 16 00 16 10 16 00 16 0028 16 0029 16 002a 16 002b 16 002c 16 002d 16 002e 16 0030 16 0034 16 0038 16 0039 16 003a 16 003b 16 003c 16 003e 16 (ps) note x : undefined contents of address fffd 16 0011 1111 00 16 00 16 00 16 1000 0000 xxxx x1xx port p0 direction register port p1 direction register port p2 direction register port p3 direction register port p4 direction register (1) (2) (3) (4) (5) register contents 00 16 00 16 0001 16 0003 16 0005 16 0007 16 0009 16 x0 0000 address 0019 16 1000 0001 001d 16 0111 1111 001e 16 0111 1111 001f 16 0111 0011 0020 16 0000 0111 0021 16 0022 16 0023 16 0000 0111 0024 16 0011 1111 0025 16 1000 0000 0026 16 1111 1111 0027 16 0011 1111 00 16 00 16 pull-up control register ff 16 0016 16 xx x 0 0 xx x 00 16 00
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 36 preliminary notice: this is not a final specification. some parametric limits are subject to change. fig. 43 external circuit of ceramic resonator fig. 44 external clock input circuit fig. 45 structure of misrg clock generating circuit an oscillation circuit can be formed by connecting a resonator be- tween x in and x out . use the circuit constants in accordance with the resonator manufacturer's recommended values. no external resistor is needed between x in and x out since a feed-back resistor exists on-chip. l oscillation control ? stop mode when the stp instruction is executed, the internal clock f stops at an h level and the x in oscillator stops. at this time, timer 1 is set to 01 16 and prescaler 12 is set to ff 16 when the oscillation stabilization time set bit after release of the stp instruction is 0. on the other hand, timer 1 and prescaler 12 are not set when the above bit is 1. accordingly, set the wait time fit for the oscillation stabilization time of the oscillator to be used. f(x in )/16 is forcibly connected to the input of prescaler 12. when an external interrupt is accepted, oscillation is restarted but the internal clock f remains at h until timer 1 underflows. as soon as timer 1 underflows, the internal clock f is supplied. this is because when a ceramic oscillator is used, some time is required until a start of oscillation. in case oscillation is restarted by reset, no wait time is generated. ______ so apply an l level to the reset pin while oscillation becomes stable. ? wait mode if the wit instruction is executed, the internal clock f stops at an h level, but the oscillator does not stop. the internal clock restarts if a reset occurs or when an interrupt is received. since the oscillator does not stop, normal operation can be started immediately after the clock is restarted. to ensure that interrupts will be received to release the stp or wit state, interrupt enable bits must be set to 1 before the stp or wit instruction is executed. when the stp status is released, prescaler 12 and timer 1 will start counting clock which is x in divided by 16, so set the timer 1 inter- rupt enable bit to 0 before the stp instruction is executed. note for use with the oscillation stabilization set bit after release of the stp instruction set to 1, set values in timer 1 and prescaler 12 after fully appreciating the oscillation stabilization time of the oscillator to be used. ? clock mode operation is started by a built-in ring oscillator after releasing reset. a division ratio (1/1,1/2,1/8) is selected by setting bits 7 and 6 of the cpu mode register after releasing it. x in c out c in x out x in x out external oscillation circuit v cc v ss open misrg(address 0038 16 ) b7 b0 oscillation stabilization time set bit after release of the stp instruction 0: set ?1 16 ?in timer1, and ?f 16 in prescaler 12 automatically 1: not set automatically reserved bits (return ??when read) (do not write ??to these bits) not used (return ??when read)
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 37 preliminary notice: this is not a final specification. some parametric limits are subject to change. fig. 46 block diagram of system clock generating circuit (for ceramic resonator) s r q s r q 1/2 rd r s q rf 1/4 1/2 wit instruction stp instruction timing f (internal clock) stp instruction interrupt request reset interrupt disable flag l high-speed mode middle-speed mode prescaler 12 timer 1 main clock division ratio selection bit double-speed mode ring oscillator mode ring oscillator (note) note : ring oscillator is used only for starting. x out x in 1/8 middle-speed, high-speed, double -speed mode main clock division ratio selection bit ring oscillator mode
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 38 preliminary notice: this is not a final specification. some parametric limits are subject to change. notes on programming processor status register the contents of the processor status register (ps) after reset are undefined except for the interrupt disable flag i which is 1. after reset, initialize flags which affect program execution. in particular, it is essential to initialize the t flag and the d flag because of their effect on calculations. interrupts the contents of the interrupt request bit do not change even if the bbc or bbs instruction is executed immediately after they are changed by program because this instruction is executed for the pre- vious contents. for executing the instruction for the changed con- tents, execute one instruction before executing the bbc or bbs in- struction. decimal calculations ? for calculations in decimal notation, set the decimal mode flag d to 1, then execute the adc instruction or sbc instruction. in this case, execute sec instruction, clc instruction or cld instruction after executing one instruction before the adc instruction or sbc instruction. ? in the decimal mode, the values of the n (negative), v (overflow) and z (zero) flags are invalid. timers ? when n (0 to 255) is written to a timer latch, the frequency division ratio is 1/(n+1). ? when a count source of timer x is switched, stop a count of timer x. ports ? the values of the port direction registers cannot be read. that is, it is impossible to use the lda instruction, memory opera- tion instruction when the t flag is 1, addressing mode using di- rection register values as qualifiers, and bit test instructions such as bbc and bbs. it is also impossible to use bit operation instructions such as clb and seb and read/modify/write instructions of direction registers for calculations such as ror. for setting direction registers, use the ldm instruction, sta in- struction, etc. ? as for the 36-pin version, set "1" to each bit 6 of the port p3 direc- tion register and the port p3 register. ? as for the 32-pin version, set 1 to respective bits 5, 6, 7 of the port p3 direction register and port p3 register. a-d converter the comparator uses internal capacitors whose charge will be lost if the clock frequency is too low. make sure that f(x in ) is 500khz or more during a-d conversion. do not execute the stp instruction during a-d conversion. instruction execution timing the instruction execution time can be obtained by multiplying the frequency of the internal clock f by the number of cycles mentioned in the machine-language instruction table. the frequency of the internal clock f is the same as that of the xin in double-speed mode, twice the xin cycle in high-speed mode and 8 times the x in cycle in middle-speed mode. notes on use handling of power source pin in order to avoid a latch-up occurrence, connect a capacitor suitable for high frequencies as bypass capacitor between power source pin (vcc pin) and gnd pin (vss pin). besides, connect the capacitor to as close as possible. for bypass capacitor which should not be lo- cated too far from the pins to be connected, a ceramic capacitor of 0.1 m f is recommended. handling of usbv refout pin in order to prevent the instability of the usbv refout output due to external noise, connect a capacitor as bypass capacitor between usbv refout pin and gnd pin (v ss pin). besides, connect the ca- pacitor to as close as possible. for bypass capacitor, a ceramic or electrolytic capacitor of 0.1 m f is recommended. one time prom version the cnvss pin is connected to the internal memory circuit block by a low-ohmic resistance, since it has the multiplexed function to be a programmable power source pin (v pp pin) as well. to improve the noise reduction, connect a track between cnvss pin and vss pin with 1 to 10 k w resistance. the mask rom version track of cnvss pin has no operational inter- ference even if it is connected via a resistor.
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 39 preliminary notice: this is not a final specification. some parametric limits are subject to change. data required for mask orders the following are necessary when ordering a mask rom produc- tion: (1) mask rom order confirmation form (2) mark specification form (3) data to be written to rom, in eprom form (three identical copies) rom programming method the built-in prom of the blank one time prom version can be read or programmed with a general-purpose prom programmer us- ing a special programming adapter. set the address of prom pro- grammer in the user rom area. the prom of the blank one time prom version is not tested or screened in the assembly process and following processes. to en- sure proper operation after programming, the procedure shown in figure 47 is recommended to verify programming. package 36p2r-a 42p4b name of programming adapter pca7435fp pca7435sp table 6 special programming adapter fig. 47 programming and testing of one time prom version programming with prom programmer screening (caution) (150 c for 40 hours) verification with prom programmer functional check in target device the screening temperature is far higher than the storage temperature. never expose to 150 c exceeding 100 hours. caution:
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 40 preliminary notice: this is not a final specification. some parametric limits are subject to change. electrical characteristics absolute maximum ratings table 7 absolute maximum ratings C0.3 to 7.0 C0.3 to v cc + 0.3 C0.3 to v cc + 0.3 C0.3 to 13 C0.3 to v cc + 0.3 1000 (note 3) C20 to 85 C40 to 125 power source voltage input voltage p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 C p3 7 , v ref , p4 0 , p4 1 input voltage reset, x in input voltage cnv ss (note 1) output voltage p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 C p3 7 , x out , usbv refout , p4 0 , p4 1 power dissipation (note 2) operating temperature storage temperature v v v v v mw c c v cc v i v i v i v o p d t opr t stg conditions symbol ratings unit parameter all voltages are based on v ss . output transistors are cut off. ta = 25 c notes 1: it is a rating only for the one time prom version. connect to v ss for mask rom version. 2: the rating value depends on packages. 3: the value of the 36-pin version is 300 mw. the value of the 32-pin version is 200 mw.
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 41 preliminary notice: this is not a final specification. some parametric limits are subject to change. recommended operating conditions table 8 recommended operating conditions (v cc = 4.1 to 5.5 v, ta = C20 to 85 c, unless otherwise noted) symbol parameter unit power source voltage limits f(x in ) = 6 mhz v cc v ss v ref v ih v ih v ih v ih v il v il v il v il v il ? i oh(peak) ? i ol(peak) ? i ol(peak) ? i oh(avg) ? i ol(avg) ? i ol(avg) i oh(peak) i ol(peak) i ol(peak) i oh(avg) i ol(avg) i ol(avg) f(x in ) v v v v v v v v v v v v ma ma ma ma ma ma ma ma ma ma ma ma mhz note 1: the total output current is the sum of all the currents flowing through all the applicable ports. the total average current is an average value measured over 100 ms. the total peak current is the peak value of all the currents. 2: the peak output current is the peak current flowing in each port. 3: the average output current i ol (avg), i oh (avg) in an average value measured over 100 ms. 4: when the oscillation frequency has a duty cycle of 50 %. 5.5 v cc v cc v cc v cc 3.6 0.3 v cc 0.8 0.2 v cc 0.8 0.16v cc C80 80 60 C40 40 30 C10 10 30 C5 5 15 6 max. power source voltage analog reference voltage h input voltage p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 h input voltage (ttl input level selected) p1 0 , p1 2 , p1 3 , p3 6 , p3 7 h input voltage reset, x in h input voltage d+, d- l input voltage p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 l input voltage (ttl input level selected) p1 0 , p1 2 , p1 3 , p3 6 , p3 7 l input voltage reset, cnv ss l input voltage d+, d- l input voltage x in h total peak output current (note 1) p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 l total peak output current (note 1) p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 7 , p4 0 , p4 1 l total peak output current (note 1) p3 0 Cp3 6 h total average output current (note 1) p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 l total average output current (note 1) p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 7 , p4 0 , p4 1 l total average output current (note 1) p3 0 Cp3 6 h peak output current (note 2) p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 l peak output current (note 2) p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 7 , p4 0 , p4 1 l peak output current (note 2) p3 0 Cp3 6 h average output current (note 3) p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 l average output current (note 3) p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 7 , p4 0 , p4 1 l average output current (note 3) p3 0 Cp3 6 oscillation frequency (note 4) v cc = 4.1 to 5.5 v at ceramic oscillation or external clock input double-speed mode typ. 5.0 0 4.1 2.0 0.8 v cc 2.0 0.8 v cc 2.0 0 0 0 0 0 min.
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 42 preliminary notice: this is not a final specification. some parametric limits are subject to change. electrical characteristics table 9 electrical characteristics (1) (v cc = 4.1 to 5.5 v, v ss = 0 v, ta = C20 to 85 c, unless otherwise noted) min. typ. max. symbol parameter limits i oh = C5 ma v cc = 4.1 to 5.5 v i oh = C1.0 ma v cc = 4.1 to 5.5 v v cc = 4.4 to 5.25 v pull-down through 15k w 5 % for d+, d- pull-up through 1.5k w 5 % by usbv refout for d- (ta = 0 to 70 c) i ol = 5 ma v cc = 4.1 to 5.5 v i ol = 1.5 ma v cc = 4.1 to 5.5 v v cc = 4.4 to 5.25 v pull-down through 15k w 5 % for d+, d- pull-up through 1.5k w 5 % by usbv refout for d-(ta = 0 to 70 c) i ol = 15 ma v cc = 4.1 to 5.5 v i ol = 1.5 ma v cc = 4.1 to 5.5 v v i = v cc (pin floating. pull-up transistors off) v i = v cc v i = v cc v i = v ss (pin floating. pull-up transistors off) v i = v ss v i = v ss v i = v ss (pull-up transistorson) test conditions v cc C1.5 v cc C1.0 2.8 h output voltage p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 (note 1) h output voltage d+, d- l output voltage p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 7 , p4 0 , p4 1 l output voltage d+, d- l output voltage p3 0 Cp3 6 hysteresis d+, d- hysteresis cntr 0 , int 0 , int 1 (note 2), p0 0 Cp0 7 (note 3) hysteresis r x d, s clk , s data (note 2) hysteresis reset h input current p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 h input current reset h input current x in l input current p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 l input current reset, cnv ss l input current x in l input current p0 0 Cp0 7 , p3 0 Cp3 7 ram hold voltage v v v oh v oh 3.6 v v ol 0.3 1.5 v v 0.3 v 2.0 0.3 v v v ol v ol v t+ Cv tC v t+ Cv tC v t+ Cv tC i ih i ih i il i ih i il i il i il v ram when clock stopped 0.5 0.5 0.4 v v v 4 C4 C0.2 5.0 5.0 C5.0 C5.0 C0.5 m a m a m a m a m a m a ma 2.0 5.5 v note 1: p1 1 is measured when the p-channel output disable bit of the uart control register (bit 4 of address 001b 16 ) is 0. 2: r x d, s clk , s data , int 0 and int 1 have hystereses only when bits 0, 1 and 2 of the port p1p3 control register are set to 0 ( cmos level). 3: it is available only when operating key-on wake-up. unit v t+ Cv tC 0.15 v
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 43 preliminar y notice: this is not a final specification. some parametric limits are subject to change. resolution linearity error differential nonlinear error zero transition voltage full scale transition voltage conversion time ladder resistor reference power source input current a-d port input current min. typ. max. symbol parameter limits unit test conditions v cc = 4.1 to 5.5 v ta = 25 a-d converter characteristics table 11 a-d converter characteristics (1) (v cc = 4.1 to 5.5 v, v ss = 0 v, ta = ?0 to 85 c, unless otherwise noted) mv 5105 50 30 5115 5125 mv v ot v fst t conv r ladder i vref i i(ad) v ref = 5.0 v 122 200 55 150 tc(x in ) k ? fig. 48 power source current measurement circuit in usb mode at oscillation stop v cc i cc v cc v ss usbv refout d- 1.5 k ? 15 k ? i out i out is included to this ratings. table 10 electrical characteristics (2) (v cc = 4.1 to 5.5 v, v ss = 0 v, ta = ?0 to 85 c, unless otherwise noted) i cc power source current 6 1.6 0.8 0.1 10 ma ma ma double-speed mode, f(x in ) = 6 mhz, output transistors off f(x in ) = 6 mhz, (in wit state) output transistors off increment when a-d conversion is executed f(x in ) = 6 mhz, v cc = 5 v all oscillation stopped (in stp state) output transistors off v cc = 4.4 v to 5.25 v oscillation stopped in usb mode usb (suspend), (pull-up resistor output included) (fig. 48) ta = 25 c ta = 85 c 1.0 10 a a ta = 0 to 70 c 300 a min. typ. max. symbol parameter limits test conditions unit 3.2
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 44 preliminar y notice: this is not a final specification. some parametric limits are subject to change. timing requirements table 12 timing requirements (v cc = 4.1 to 5.5 v, v ss = 0 v, ta = ?0 to 85 c, unless otherwise noted) min. typ. max. symbol parameter limits unit t w (reset) t c (x in ) t wh (x in ) t wl (x in ) t c (cntr) t wh (cntr) t wl (cntr) t c (s clk ) t wh (s clk ) t wl (s clk ) t su (s data e s clk ) t h (s clk e s data ) reset input l pulse width external clock input cycle time external clock input h pulse width external clock input l pulse width cntr 0 input cycle time cntr 0 , int 0 , int 1 input h pulse width cntr 0 , int 0 , int 1 input l pulse width serial i/o2 clock input cycle time serial i/o2 clock input h pulse width serial i/o2 clock input l pulse width serial i/o2 input set up time serial i/o2 input hold time 15 166 70 70 200 80 80 1000 400 400 200 200 s ns ns ns ns ns ns ns ns ns ns ns switching characteristics table 13 switching characteristics (v cc = 4.1 to 5.5 v, v ss = 0 v, ta = ?0 to 85 c, unless otherwise noted) min. typ. max. symbol parameter limits unit t wh (s clk ) t wl (s clk ) t d (s clk e s data ) t v (s clk e s data ) t r (s clk ) t f (s clk ) t r (cmos) t f (cmos) t r (d+), t r (d-) t f (d+), t f (d-) serial i/o2 clock output h pulse width serial i/o2 clock output l pulse width serial i/o2 output delay time serial i/o2 output valid time serial i/o2 clock output rising time serial i/o2 clock output falling time cmos output rising time (note) cmos output falling time (note) usb output rising time, c l = 200 to 450 pf, ta = 0 to 70 c, v cc = 4.4 to 5.25 v usb output falling time, c l = 200 to 450 pf, ta = 0 to 70 c, v cc = 4.4 to 5.25 v 10 10 150 150 75 75 notes: x out pin is excluded. fig. 49 output switching characteristics measurement circuit 100 pf measured output pin cmos output t c (s clk )/2 e 30 t c (s clk )/2 e 30 0 ns ns ns ns ns ns ns ns ns ns 140 30 30 30 30 300 300
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 45 preliminary notice: this is not a final specification. some parametric limits are subject to change. fig. 50 timing chart 0.2v cc t d (s clk -s data ) t f 0.2v cc 0.8v cc 0.8v cc t r t su (s data -s clk )t h (s clk -s data ) t v (s clk -s data ) t c (s clk ) t wl (s clk ) t wh (s clk ) s data (at receive) s clk 0.2v cc t wl (x in ) 0.8v cc t wh (x in ) t c (x in ) x in 0.2v cc 0.8v cc t w (reset) reset 0.2v cc t wl (cntr) 0.8v cc t wh (cntr) t c (cntr) 0.2v cc t wl (int) 0.8v cc t wh (int) s data (at transmit) int 0 /int 1 cntr 0 0.1v0h d+, d- t f 0.9v0h t r
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 46 preliminary notice: this is not a final specification. some parametric limits are subject to change. differences among 32-pin, 36-pin and 42-pin the 7534 group has three package types, and each of the number of i/o ports are different. accordingly, when the pins which have the function except a port function are eliminated, be careful that the functions are also eliminated. table 15 differences among 32-pin, 36-pin and 42-pin i/o port port p1 port p2 port p3 port p4 42-pin sdip p1 0 Cp1 6 (7-bit structure) p2 0 Cp2 7 (8-bit structure) (a-d converter 8-channel) p3 0 Cp3 7 (8-bit structure) (int 0 , int 1 available) p4 0 , p4 1 (2-bit structure) 36-pin ssop p1 0 Cp1 4 (5-bit structure) p2 0 Cp2 7 (8-bit structure) (a-d converter 8-channel) p3 0 Cp3 5 , p3 7 (7-bit structure) (int 0 available) no port 32-pin lqfp p1 0 Cp1 4 (5-bit structure) p2 0 Cp2 5 (6-bit structure) (a-d converter 6-channel) p3 0 Cp3 4 (5-bit structure) (int function not available) no port description of improved usb function for 7534 group table 14 description of improved usb function for 7534 group no. 1 2 3 4 5 parameter response at control transfer d+/d- transceiver circuit power dissipation at suspend stall in status stage 6-bit decode of sync field 7532 group not deal with the host which performs the control transfer in parallel to plural device. usb function can be used only at the condition of c l = 150 pf to 350 pf. rating is max. 300 m a not including the output cur- rent of usbv refout . ack is returned once to out (data0) to be valid in status stage. sync is detected only when 8-bit full code (80 16 ) is complete. 7534 group connectable to the host which performs the con- trol transfer in parallel to plural device. deal with the the following usb spefification rev. 1.1. c l = 200 pf to 450 pf, trise and tfall: 75 ns to 300 ns, tr/tf: 80 % to 125 %, cross over voltage: 1.3 v to 2.0 v. rating is max. 300 m a including the output current of usbv refout , by low-power dissipation of d+/ d- input circuit and 3.3 v-regulator. stall is set automaticcally by hardware when out (data0) is received in status stage. sync is detected only the low-order 6 bits even if the high-order 2 bits are corrupted.
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 47 preliminary notice: this is not a final specification. some parametric limits are subject to change. table 16 differences among 32-pin, 36-pin and 42-pin (sfr) 42-pin sdip bit 7 not available all bits available all bits available bits 2 to 7 not available bit 6 definition: p3 5 , p3 6 pull-up control bit 7 definition: p3 7 pull-up control bit 0 definition: p3 7 /int 0 input level selection bit 1 definition: p3 6 /int 1 input level selection bits 0 to 2 input pins selected by setting these bits to 000 to 111 bit 0 definition int 0 interrupt edge selection bit 1 definition int 1 interrupt edge selection bit 4 definition serial i/o1, int 1 interrupt selection bit 1 definition uart transmission, usb (except in), int 1 bit 2 definition int 0 bit 1 definition uart transmission, usb (except in), int 1 bit 2 definition int 0 36-pin ssop bits 5 to 7 not available all bits available bit 6 not available all bits not available bit 6 definition: p3 5 pull-up control bit 7 definition: p3 7 pull-up control bit 0 definition: p3 7 /int 0 input level selection bit 1 not available bits 0 to 2 input pins selected by setting these bits to 000 to 111 bit 0 definition int 0 interrupt edge selection bits 1 and 4 not available bit 1 definition uart transmission, usb (except in) bit 2 definition int 0 bit 1 definition uart transmission, usb (except in) bit 2 definition int 0 32-pin lqfp bits 5 to 7 not available bits 6 and 7 not available bits 5 to 7 not available all bits not available bits 6 and 7 not available bits 0 and 1 not available bits 0 to 2 input pins selected by setting these bits to 000 to 101 bits 0, 1 and 4 not available bit 1 definition uart transmission, usb (except in) bit 2 not available bit 1 definition uart transmission, usb (except in) bit 2 not available additionally, there are differences of sfr usage and functional defi- nitions. register (address) port p1/direction (02 16 /03 16 ) port p2/direction (04 16 /05 16 ) port p3/direction (06 16 /07 16 ) port p4/direction (08 16 /09 16 ) pull-up control (16 16 ) port p1p3 control (17 16 ) a-dcontrol (34 16 ) interrupt edge selection (3a 16 ) interrupt request (3c 16 ) interrupt control (3e 16 )
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 48 preliminar y notice: this is not a final specification. some parametric limits are subject to change. fig. 51 handling of v cc , usbv refout pins of M37534M4-XXXFP, m37534e8fp description supplement for use of usb function stably outline 36p2r-a 10 1 2 3 4 6 7 8 9 11 12 14 15 16 5 13 17 18 36 35 34 33 31 30 26 25 24 23 22 21 20 19 32 27 29 28 p0 0 cnv ss x out x in v ss p0 1 p0 2 p0 3 p0 4 p3 0 (led 0 ) vcc v ref p0 5 p1 0 /r x d/d- p2 6 /an 6 p2 7 /an 7 p1 1 /t x d/d+ p1 2 /s clk p1 3 /s data p2 3 /an 3 p2 2 /an 2 p2 1 /an 1 p2 0 /an 0 p3 1 (led 1 ) p3 7 /int 0 p2 4 /an 4 p2 5 /an 5 p0 6 p0 7 usbv refout reset M37534M4-XXXFP m37534e8fp p1 4 /cntr 0 p3 5 (led 5 ) p3 4 (led 4 ) p3 3 (led 3 ) p3 2 (led 2 ) 1.5k ? reason of ? is to reduce the effect by switcing noise of microcomputer to the analog circuit generating usbv refout output. use the bigger capacitor and connect to device at the shortest distance. reason of ? is to prevent the instability of the usbv refout output due to external noise. connect a capacitor to a device as close as possible. for the capacitor, a ceramic capacitor or an electrolytic capacitor of 0.22 f is recommended. ? connect a bypass capacitor to a device as close as possible. for the capacitor, a ceramic capacitor or an electrolytic capacitor of 1.0 f is recommended. ?
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 49 preliminar y notice: this is not a final specification. some parametric limits are subject to change. fig. 52 handling of v cc , usbv refout pins of m37534m4-xxxgp outline 32p6u-a p0 7 p1 0 /r x d/d- p1 1 /t x d/d+ p1 2 /s clk p1 3 /s data p1 4 /cntr 0 p2 0 / an 0 p2 1 / an 1 32 31 30 29 28 27 26 25 p3 4 (led 4 ) p3 3 (led 3 ) p3 2 (led 2 ) p3 1 (led 1 ) p3 0 (led 0 ) v ss x out x in 9 10 11 12 13 14 15 16 2 8 7 6 5 3 1 4 v cc cnv ss reset p2 2 /an 2 p0 5 20 17 18 19 21 24 p0 2 p0 4 p0 3 p0 6 23 22 p0 1 p0 0 usbv refout m37534m4-xxxgp p2 3 /an 3 p2 4 /an 4 p2 5 /an 5 v ref 1.5k ? reason of ? is to reduce the effect by switcing noise of microcomputer to the analog circuit generating usbv refout output. use the bigger capacitor and connect to device at the shortest distance. reason of ? is to prevent the instability of the usbv refout output due to external noise. ? ? connect a capacitor to a device as close as possible. for the capacitor, a ceramic capacitor or an electrolytic capacitor of 0.22 f is recommended. connect a bypass capacitor to a device as close as possible. for the capacitor, a ceramic capacitor or an electrolytic capacitor of 1.0 f is recommended.
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 50 preliminar y notice: this is not a final specification. some parametric limits are subject to change. fig. 53 handling of v cc , usbv refout pins of m37534e8sp, m37534m4-xxxsp, m37534rss outline 42p4b 10 1 2 3 4 6 7 8 9 11 12 14 15 16 5 13 17 18 36 35 34 33 31 30 26 25 24 23 22 32 27 29 28 19 20 21 42 41 40 39 37 38 p0 0 cnv ss x out x in v ss p0 1 p0 2 p0 3 p0 4 p3 0 (led 0 ) vcc v ref p0 5 p1 2 /s clk p2 5 /an 5 p2 6 /an 6 p1 3 /s data p1 4 /cntr 0 p2 2 /an 2 nc p2 1 /an 1 p2 0 /an 0 p3 1 (led 1 ) p2 3 /an 3 p2 4 /an 4 p0 6 p0 7 p3 7 /int 0 reset m37534e8sp m37534m4-xxxsp m37534rss p3 5 (led 5 ) p3 4 (led 4 ) p3 3 (led 3 ) p3 2 (led 2 ) usbv refout p1 0 /r x d/d- p1 1 /t x d/d+ p2 7 /an 7 1.5k ? reason of ? is to reduce the effect by switcing noise of microcomputer to the analog circuit generating usbv refout output. use the bigger capacitor and connect to device at the shortest distance. reason of ? is to prevent the instability of the usbv refout output due to external noise. ? ? p1 6 p1 5 p4 0 p4 1 p3 6 (led 6 )/int 1 connect a capacitor to a device as close as possible. for the capacitor, a ceramic capacitor or an electrolytic capacitor of 0.22 f is recommended. connect a bypass capacitor to a device as close as possible. for the capacitor, a ceramic capacitor or an electrolytic capacitor of 1.0 f is recommended.
single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers 51 preliminar y notice: this is not a final specification. some parametric limits are subject to change. mitsubishi microcomputers package outline ssop36-p-450-0.80 weight(g) e jedec code 0.53 eiaj package code lead material alloy 42 36p2r-a plastic 36pin 450mil ssop symbol min nom max a a 2 b c d e l l 1 y dimension in millimeters h e a 1 i 2 e e .35 0 .05 0 .13 0 .8 14 .2 8 e .63 11 .3 0 e e e .27 1 e e .0 2 .4 0 .15 0 .0 15 .4 8 .8 0 .93 11 .5 0 .765 1 e .43 11 e e .4 2 e .5 0 .2 0 .2 15 .6 8 e .23 12 .7 0 e .15 0 e b 2 e.5 0e e 0
? 2000 mitsubishi electric corp. ki-0001 printed in japan (rod) ii new publication, effective jan. 2000. specifications subject to change without notice. notes regarding these materials ? these materials are intended as a reference to assist our customers in the selection of the mitsubishi semiconductor product b est suited to the customers application; they do not convey any license under any intellectual property rights, or any other rights, belonging to mitsubishi electric corporation or a third party. ? mitsubishi electric corporation assumes no responsibility for any damage, or infringement of any third-partys rights, origina ting in the use of any product data, diagrams, charts, programs, algorithms, or circuit application examples contained in these materials. ? all information contained in these materials, including product data, diagrams, charts, programs and algorithms represents inf ormation on products at the time of publication of these materials, and are subject to change by mitsubishi electric corporation without notice due to product improvements or other reasons. it is therefore recommended that c ustomers contact mitsubishi electric corporation or an authorized mitsubishi semiconductor product distributor for the latest product information before purchasing a product listed herein. the information described here may contain technical inaccuracies or typographical errors. mitsubishi electric corporation assu mes no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors. please also pay attention to information published by mitsubishi electric corporation by various means, including the mitsubish i semiconductor home page (http://www.mitsubishichips.com). ? when using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products. mitsubishi electric corporation assumes no responsibility for any damage, liability or other loss resulting from the information contained herein. ? mitsubishi electric corporation semiconductors are not designed or manufactured for use in a device or system that is used und er circumstances in which human life is potentially at stake. please contact mitsubishi electric corporation or an authorized mitsubishi semiconductor product distributor when considering the use of a product contained herei n for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use. ? the prior written approval of mitsubishi electric corporation is necessary to reprint or reproduce in whole or in part these m aterials. ? if these products or technologies are subject to the japanese export control restrictions, they must be exported under a licen se from the japanese government and cannot be imported into a country other than the approved destination. any diversion or reexport contrary to the export control laws and regulations of japan and/or the country of destination is pro hibited. ? please contact mitsubishi electric corporation or an authorized mitsubishi semiconductor product distributor for further detai ls on these materials or the products contained therein. keep safety first in your circuit designs! ? mitsubishi electric corporation puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. trouble with semiconductors may lead to personal injury, fire or property damage. remember to give due consideration to safety when making your circuit designs, with a ppropriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of non-flammable material or (iii) prevention against any malfunction or mishap. head office: 2-2-3, marunouchi, chiyoda-ku, tokyo 100-8310, japan single-chip 8-bit cmos microcomputer 7534 group mitsubishi microcomputers sdip42-p-600-1.78 weight(g) jedec code 4.1 eiaj package code lead material alloy 42/cu alloy 42p4b plastic 42pin 600mil sdip symbol min nom max a a 2 b b 1 b 2 c e d l dimension in millimeters a 1 0.51 ?.8 0.35 0.45 0.55 0.9 1.0 1.3 0.63 0.73 1.03 0.22 0.27 0.34 36.5 36.7 36.9 12.85 13.0 13.15 1.778 15.24 3.0 0 ?5 5.5 e e 1 42 22 21 1 e c e 1 a 2 a 1 b b 1 b 2 e la seating plane d
rev. rev. no. date 1.0 first edition 000118 1.1 page 2: package type revised; 32p6b-a ? ? ? ? ? ?


▲Up To Search▲   

 
Price & Availability of M37534M4-XXXFP

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X